package com.ruoyi.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工考核配置对象 staff_att_config
 * 
 * @author cf
 * @date 2025-06-04
 */
public class StaffAttConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long empId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 配置ID */
    @Excel(name = "配置ID")
    private Long configId;

    /** 配置分值 */
    @Excel(name = "配置分值")
    private Long rateScore;

    /** 考核名称 */
    @Excel(name = "考核名称")
    private String attendanceName;

    /** 考核月份（格式：yyyy-MM） */
    @Excel(name = "考核月份", readConverterExp = "格=式：yyyy-MM")
    private Date attendanceTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmpId(Long empId) 
    {
        this.empId = empId;
    }

    public Long getEmpId() 
    {
        return empId;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setRateScore(Long rateScore) 
    {
        this.rateScore = rateScore;
    }

    public Long getRateScore() 
    {
        return rateScore;
    }
    public void setAttendanceName(String attendanceName) 
    {
        this.attendanceName = attendanceName;
    }

    public String getAttendanceName() 
    {
        return attendanceName;
    }
    public void setAttendanceTime(Date attendanceTime) 
    {
        this.attendanceTime = attendanceTime;
    }

    public Date getAttendanceTime() 
    {
        return attendanceTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empId", getEmpId())
            .append("empName", getEmpName())
            .append("configId", getConfigId())
            .append("rateScore", getRateScore())
            .append("attendanceName", getAttendanceName())
            .append("attendanceTime", getAttendanceTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
